<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:template match="/">
		<html>
			<body>
				<table border="0" align = "center">
	     			<tr bgcolor="#9acd32">
	        			<th width="80">Time</th>
	        			<th width="160">Sunday </th>
	        			<th width="160">Monday </th>
	        			<th width="160">Tuesday </th>
	        			<th width="160">Wednesday </th>
	        			<th width="160">Thursday </th>
	      			</tr>
	      			<tr>
	      				<td>
	      					<table border="0">
	      						<xsl:for-each select="./timetable/day[1]/hour">
	      							<tr bgcolor="#CCCCCC">
	      								<td height = "50" width="80" align = "center">
			      							<b>
					        					<xsl:value-of select="./@time"/>
					        				</b>
					        			</td>
			        				</tr>
			        			</xsl:for-each>
			        		</table>
	      				</td>
	        			<xsl:for-each select="./timetable/day">
	        				<td>
	        					<table border="0">
	        						<xsl:for-each select="./hour">
	        							<tr bgcolor="#CCCCCC">
	        								<td height = "50" width="160" align = "center">
			        							<xsl:value-of select="./course/@name"/>
		        							</td>
	        							</tr>
	        						</xsl:for-each>
	        					</table>
	        				</td>
	        			</xsl:for-each>
	      			</tr>
	    		</table>
	    	</body>
		</html>
	</xsl:template>
</xsl:stylesheet>